﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Entities
{
    [Serializable]
    public class PhongBan
    {
        private string hanhDong;

        public string HanhDong
        {
            get { return hanhDong; }
            set { hanhDong = value; }
        }
        private int phongBanID;
        private string maPhongBan;
        private string tenPhongBan;
        private string ghiChu;
        private Boolean deleted;
        Entities.TaiKhoan taiKhoan;
        public Entities.TaiKhoan TaiKhoan
        {
            get { return this.taiKhoan; }
            set
            {
                this.taiKhoan = value;
            }
        }
        public PhongBan()
        { }
        public PhongBan(string hanhdong)
        {
            this.hanhDong = hanhdong;
        }
        public PhongBan(string hanhdong, int phongBanID, string maPhongBan, string tenPhongBan,
            string ghiChu, Boolean deleted, Entities.TaiKhoan taiKhoan)
        {
            this.taiKhoan = taiKhoan;
            this.hanhDong = hanhdong;
            this.phongBanID = phongBanID;
            this.maPhongBan = maPhongBan;
            this.tenPhongBan = tenPhongBan;
            this.ghiChu = ghiChu;
            this.deleted = deleted;
        }
        public int PhongBanID
        {
            get { return this.phongBanID; }
            set
            {
                this.phongBanID = value;
            }
        }
        public string MaPhongBan
        {
            get { return this.maPhongBan; }
            set
            {
                this.maPhongBan = value;
            }
        }
        public string TenPhongBan
        {
            get { return this.tenPhongBan; }
            set
            {
                this.tenPhongBan = value;
            }
        }
        public string GhiChu
        {
            get { return this.ghiChu; }
            set { this.ghiChu = value; }
        }
        public Boolean Deleted
        {
            get { return this.deleted; }
            set { this.deleted = value; }
        }

    }

}
